package com.prik.command.products;

/**
 * 音响
 **/
public class Stereo {

    /**
     * 开机
     */
    public void on(){
        System.out.println("stereo is on...");
    }

    /**
     * 播放CD
     */
    public void playCD(){
        System.out.println("start playing CD...");
    }

    /**
     * 设置音量
     */
    public void setVolume(int volume){
        System.out.println("set the volume to " + volume);
    }

    /**
     * 关机
     */
    public void off() {
        System.out.println("stereo is off...");
    }
}